package com.framework.sog.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.framework.dbs.vo.BaseObject;

public class HpSogTaskVO extends BaseObject {
	private static final long serialVersionUID = 1L;
	/** identifier field */
    private String id;
    
    /** identifier field */
    private String taskCode;
    
    /** identifier field */
    private String taskName;
    
    /** identifier field */
    private String centerCode;
    
    /** identifier field */
    private String centerName;
    
    /** identifier field */
    private String taskType;
    
    /** identifier field */
    private String taskStatus;
    
    /** identifier field */
    private String logonIp;
    
    /** identifier field */
    private String startDate;
    
    /** identifier field */
    private String startTime;
    
    /** identifier field */
    private String endDate;
    
    /** identifier field */
    private String endTime;
    
    /** identifier field */
    private String remark;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getCenterCode() {
		return centerCode;
	}

	public void setCenterCode(String centerCode) {
		this.centerCode = centerCode;
	}

	public String getCenterName() {
		return centerName;
	}

	public void setCenterName(String centerName) {
		this.centerName = centerName;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getLogonIp() {
		return logonIp;
	}

	public void setLogonIp(String logonIp) {
		this.logonIp = logonIp;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public HpSogTaskVO(String id, String taskCode, String taskName,
			String centerCode, String centerName, String taskType,
			String taskStatus, String logonIp, String startDate,
			String startTime, String endDate, String endTime, String remark) {
		this.id = id;
		this.taskCode = taskCode;
		this.taskName = taskName;
		this.centerCode = centerCode;
		this.centerName = centerName;
		this.taskType = taskType;
		this.taskStatus = taskStatus;
		this.logonIp = logonIp;
		this.startDate = startDate;
		this.startTime = startTime;
		this.endDate = endDate;
		this.endTime = endTime;
		this.remark = remark;
	}

	public HpSogTaskVO() {
	}

	public HpSogTaskVO(String id) {
		this.id = id;
	}
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

    public boolean equals(Object other) {
        if ( (this == other ) ) return true;
        if ( !(other instanceof HpSogTaskVO) ) return false;
        HpSogTaskVO castOther = (HpSogTaskVO) other;
        return new EqualsBuilder()
            .append(this.getId(), castOther.getId())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getId())
            .toHashCode();
    }

	@Override
	public String getSequenceName() {
		// TODO Auto-generated method stub
		return null;
	}

}